package cn.micai.common.controller;

import cn.micai.common.encode.MD5Pwd;
import cn.micai.common.web.session.SessionProvider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * 基础控制器类
 *
 * @author zhaoxinguo on 2017/8/4.
 */
public abstract class BaseController {

    /**
     * 日志对象
     */
    protected Logger logger = LoggerFactory.getLogger(getClass());

    @Autowired
    protected MD5Pwd mD5Pwd;

    @Autowired
    protected SessionProvider sessionProvider;

}
